let express = require('express');
let router = express.Router();
/* GET home page. */


/**
 * 用户注册
 */
router.all('/addUsers', function (req, res, next) {
    global['bean'].ZhaoppService.addUsersEntity(req.args).then(data => {
        res.json(res.wrap(20000, '添加成功!', data));
    }).catch(e => {
        next(e);
    });
});


module.exports = router;
